package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TaskWarningPlan implements Serializable {

    @ApiModelProperty(name = "ID", hidden = true)
    private Long id;

    @ApiModelProperty(name = "任务ID")
    private Long taskId;

    @ApiModelProperty(name = "预警方案ID")
    private Long warningPlanId;

    @ApiModelProperty("预警方案类型（0签到预警，1日志预警）")
    private Integer type;

    @ApiModelProperty(name = "状态", hidden = true)
    private int status;

    @ApiModelProperty(name = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(name = "更新时间", hidden = true)
    private Date updateTime;
}
